package my.springboot.async.impl;

import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Component;

import lombok.extern.slf4j.Slf4j;
import my.springboot.async.AsyncInteface;
import my.springboot.async.Log;

@Slf4j
@Component
public class AsyncIntefaceImpl implements AsyncInteface {

	@Async
	@Log("integface")
	@Override
	public void dowork() {
		log.debug("执行工作");
	}

}
